using System;
using System.IO;
using System.Text;
using System.Collections.Generic;

namespace My.IdlConverter.Util
{
    public class Delegators
    {
        public static bool FilterClassFileFunc(string pathName)
        {
            string fileTitle = Path.GetFileNameWithoutExtension(pathName);
            fileTitle = fileTitle.Trim();
            if (fileTitle.StartsWith("DOM"))
                return true;

            if (!fileTitle.Equals("DOMInnerInit"))
                return true;

            return false;
        }

        public static bool FilterInterfaceFun(string pathName)
        {
            if (Path.GetFileName(pathName).Trim().StartsWith("Iv_DOM"))
                return true;

            return false;
        }

        public static char CharConverter(char value)
        {
            return Char.ToUpper(value);
        }

        public static char CharUpper(char value)
        {
             return Char.ToUpper(value);
        }
    }
}
